package com.mj.mafeed.bean;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 购物车
 * @author zhaominglei
 * @date 2014-12-20
 * 
 */
public class CartItemJSON implements Serializable {
	private static final long serialVersionUID = 4469710278009300185L;
	private Long cartItemId; //购物车明细id
	private Long cartId; //购物车id
	private Long productId; //商品id
	private Integer quantity;  //数量
	private String sn; //商品名称
	private String name; //商品名称
	private BigDecimal price; //商品价格
	private Integer stock; //商品库存
	private String imageUrl; //图片地址
	
	public Long getCartItemId() {
		return cartItemId;
	}
	public void setCartItemId(Long cartItemId) {
		this.cartItemId = cartItemId;
	}
	public Long getCartId() {
		return cartId;
	}
	public void setCartId(Long cartId) {
		this.cartId = cartId;
	}
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public String getSn() {
		return sn;
	}
	public void setSn(String sn) {
		this.sn = sn;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Integer getStock() {
		return stock;
	}
	public void setStock(Integer stock) {
		this.stock = stock;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
}
